mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 08:25:50 +01:00
Fix typo
This commit is contained in:
@@ -20,7 +20,7 @@ trait AccessTokenService {
|
|||||||
def tokenToHash(token: String): String = StringUtil.sha1(token)
|
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) = {
|
def generateAccessToken(userName: String, note: String)(implicit s: Session): (Int, String) = {
|
||||||
var token: String = null
|
var token: String = null
|
||||||
|
|||||||
Reference in New Issue
Block a user