Skip to content

Commit

Permalink
argoproj#93: Password regex now checks if input contains at least one…
Browse files Browse the repository at this point in the history
… uppercase character (argoproj#94)
  • Loading branch information
felixApplatix authored and wokeGit committed Nov 21, 2017
1 parent 901b6ba commit ffbc2aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class CustomRegex {

public static myToolsUsername: string = '.+';

static passwordPattern = /^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})/;
static passwordPattern = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})/;

static emailPattern = new RegExp(''
+ /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))/.source
Expand Down

0 comments on commit ffbc2aa

Please sign in to comment.