Commit daadb762 authored by liqin's avatar liqin 💬

bug fixed

parent 31f4a91a
......@@ -99,7 +99,7 @@ public class MyShiroRealm extends AuthorizingRealm {
throw new AuthenticationException("token invalid");
}
return new SimpleAuthenticationInfo(new Employee(employee.getId(), credentials), token, getName());
return new SimpleAuthenticationInfo(new Employee(employee.getId(), credentials), credentials, getName());
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment