Skip to content

Commit db46575

Browse files
allow sbcc for 'insanely stupid override to make singlestore work'
1 parent 10ed3fb commit db46575

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

service/user_service.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,12 @@ func IncompleteProfileReminder() {
108108
}
109109
}
110110

111+
// insanely stupid override to make singlestore work
111112
func GauchoRacingEmailReplace(email string) string {
112113
if strings.HasSuffix(email, "@ucsb.edu") {
113114
return strings.TrimSuffix(email, "@ucsb.edu") + "@gauchoracing.com"
115+
} else if strings.HasSuffix(email, "@sbcc.edu") {
116+
return strings.TrimSuffix(email, "@sbcc.edu") + "@gauchoracing.com"
114117
} else if email == "ucsantabarbarasae@gmail.com" {
115118
return "team@gauchoracing.com"
116119
}

0 commit comments

Comments
 (0)