This commit is contained in:
Naoki Takezoe
2017-01-04 14:25:41 +09:00
parent 8d7ec16ed0
commit 2297ef0bec

View File

@@ -20,7 +20,7 @@ trait AccessTokenService {
def tokenToHash(token: String): String = StringUtil.sha1(token)
/**
* @retuen (TokenId, Token)
* @return (TokenId, Token)
*/
def generateAccessToken(userName: String, note: String)(implicit s: Session): (Int, String) = {
var token: String = null