whitelist에서 email과 platform을 모두 비교
This commit is contained in:
@ -429,7 +429,7 @@ func (mg *Maingate) prepare(context context.Context) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func whitelistKey(email string) string {
|
||||
func whitelistKey(email string, platform string) string {
|
||||
if strings.HasPrefix(email, "*@") {
|
||||
// 도메인 전체 허용
|
||||
return email[2:]
|
||||
|
||||
Reference in New Issue
Block a user