Various styling changes
This commit is contained in:
7 files changed
+73
-62
No files matched your search
+1
-1
@@ -120,7 +120,7 @@ func FetchAccountKeySaltFromUsername(username string) ([]byte, []byte, error) {
|
||||
return key, salt, nil
|
||||
}
|
||||
|
||||
func FetchUuidFromToken(token []byte) ([]byte, error) {
|
||||
func FetchUUIDFromToken(token []byte) ([]byte, error) {
|
||||
var uuid []byte
|
||||
err := handle.QueryRow("SELECT uuid FROM sessions WHERE token = ? AND expire > UTC_TIMESTAMP()", token).Scan(&uuid)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user