Skip to content

Commit 7e849f1

Browse files
authored
Update UserController.java
1 parent bc52cd4 commit 7e849f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/tamu/app/controller/UserController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public ApiResponse credentials(@WeaverCredentials Credentials credentials) {
6363
*
6464
*/
6565
@RequestMapping("/user")
66-
@PreAuthorize("hasRole('ANONYMOUS')")
66+
@PreAuthorize("hasRole('USER')")
6767
public ApiResponse getUser(@WeaverUser User user) {
6868
if (user == null) {
6969
return new ApiResponse(ERROR, "Unable to retrieve user!");

0 commit comments

Comments
 (0)