mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-20 17:58:10 +08:00
kaptcha
This commit is contained in:
@@ -65,7 +65,10 @@ public class AuthJwtService {
|
||||
* @return AuthJwt
|
||||
*/
|
||||
public AuthJwt genAuthJwt(Authentication authentication) {
|
||||
return new AuthJwt(genJwt(authentication), authentication);
|
||||
if(authentication != null) {
|
||||
return new AuthJwt(genJwt(authentication), authentication);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user