* [오승석] firebase를 통한 guset로그인시 email에 @guest.flag 추가
- 위치 이동
This commit is contained in:
@ -3,6 +3,7 @@ package core
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
@ -263,6 +264,9 @@ func (mg *Maingate) platform_firebase_getuserinfo(info usertokeninfo) (bool, str
|
||||
}
|
||||
|
||||
tempEmail := found["firebaseemail"].(string)
|
||||
if found["firebaseprovider"].(string) == "guest" {
|
||||
tempEmail = fmt.Sprintf("%s@guest.flag", info.userid)
|
||||
}
|
||||
|
||||
return true, info.userid, tempEmail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user