This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
NGnius
/
leadercraft-s
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Automatically enable token once key is generated
master
NGnius
4 years ago
parent
049346ab54
commit
8ffd8c2862
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
sql_service.go
+ 1
- 0
sql_service.go
View File
@@ -90,6 +90,7 @@ func newKeySql(player int64) (*Key, error) {
if tokenErr != nil {
return nil, tokenErr
}
newKey.Metadata = []byte{0xFE} // enable key with not extra permissions
return newKey, newKey.Commit()
}