We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc52cd4 commit 7e849f1Copy full SHA for 7e849f1
1 file changed
src/main/java/edu/tamu/app/controller/UserController.java
@@ -63,7 +63,7 @@ public ApiResponse credentials(@WeaverCredentials Credentials credentials) {
63
*
64
*/
65
@RequestMapping("/user")
66
- @PreAuthorize("hasRole('ANONYMOUS')")
+ @PreAuthorize("hasRole('USER')")
67
public ApiResponse getUser(@WeaverUser User user) {
68
if (user == null) {
69
return new ApiResponse(ERROR, "Unable to retrieve user!");
0 commit comments