Commit b37864fa authored by Julien Schröter's avatar Julien Schröter

Allow all email addresses that end with tu-darmstadt.de

parent fcc3f8c7
Pipeline #2163 passed with stage
in 6 minutes and 14 seconds
1.2.2-preview
1.2.3-preview
......@@ -10,7 +10,7 @@ import (
// password rules
const minLength = 8
var emailPasslist = [...]string{"@stud.tu-darmstadt.de", "@akamu.de"}
var emailPasslist = [...]string{".tu-darmstadt.de", "@tu-darmstadt.de", "@akamu.de"}
func CheckPasswordOK(pw string) bool {
if len(pw) < minLength {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment