Fixed document error

This commit is contained in:
Henry Lin 2018-06-14 22:14:11 +08:00 committed by Josh Cummings
parent 79bbd6a39c
commit 7e52fe67f4
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ This can be customized by modifying the `defaultRolePrefix` on `DefaultWebSecuri
| Returns `true` if the current principal has the specified authority. | Returns `true` if the current principal has the specified authority.
| `hasAnyAuthority([authority1,authority2])` | `hasAnyAuthority([authority1,authority2])`
| Returns `true` if the current principal has any of the supplied roles (given as a comma-separated list of strings) | Returns `true` if the current principal has any of the supplied authorities (given as a comma-separated list of strings)
| `principal` | `principal`
| Allows direct access to the principal object representing the current user | Allows direct access to the principal object representing the current user