mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
fix spelling mistake in error message and comment out settings.defaults
This commit is contained in:
@@ -190,11 +190,11 @@ module.exports = settings =
|
||||
# -----------
|
||||
# These restrict the passwords users can use when registering
|
||||
# opts are from http://antelle.github.io/passfield
|
||||
passwordStrengthOptions:
|
||||
# pattern: "aA$3"
|
||||
length:
|
||||
min: 1
|
||||
max: 10
|
||||
# passwordStrengthOptions:
|
||||
# pattern: "aA$3"
|
||||
# length:
|
||||
# min: 1
|
||||
# max: 10
|
||||
|
||||
# Email support
|
||||
# -------------
|
||||
|
||||
@@ -125,6 +125,6 @@ define [
|
||||
scope.complexPasswordErrorMessage = "Password can not contain email address"
|
||||
if opts.length.max? and modelValue.length == opts.length.max
|
||||
isValid = false
|
||||
scope.complexPasswordErrorMessage = "Maxium password length #{opts.length.max} reached"
|
||||
scope.complexPasswordErrorMessage = "Maximum password length #{opts.length.max} reached"
|
||||
ngModelCtrl.$setValidity('complexPassword', isValid)
|
||||
return modelValue
|
||||
|
||||
Reference in New Issue
Block a user