Version 1.0.0f - Final Version
This commit is contained in:
@ -88,19 +88,28 @@ module.exports.getDiscordUser = function (code, session) {
|
||||
|
||||
if(packageJson.beta_on == false) {
|
||||
user.auth = authorizationKey
|
||||
if(userInfo.user.id == "486943594893017119") {
|
||||
|
||||
user.admin = true
|
||||
}
|
||||
|
||||
Object.assign(user, userInfo)
|
||||
|
||||
|
||||
|
||||
|
||||
resolve(user)
|
||||
|
||||
} else {
|
||||
|
||||
if(betausers.includes(userInfo.user.id)) {
|
||||
user.auth = authorizationKey
|
||||
if(userInfo.user.id == "486943594893017119") {
|
||||
|
||||
user.admin = true
|
||||
}
|
||||
user.beta = true
|
||||
Object.assign(user, userInfo)
|
||||
|
||||
|
||||
|
||||
resolve(user)
|
||||
|
||||
} else {
|
||||
|
BIN
src/web/public/images/logo-svg.png
Normal file
BIN
src/web/public/images/logo-svg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
Binary file not shown.
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 4.1 KiB |
Reference in New Issue
Block a user