password reset workflow changed
This commit is contained in:
parent
2f1e740d5a
commit
410b15c2c4
36 changed files with 1229 additions and 255 deletions
|
@ -8,5 +8,15 @@
|
|||
string result = source.Remove(index, target.Length).Insert(index, newValue);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string Tail(this string source, int tailLength)
|
||||
{
|
||||
if (source == null || tailLength >= source.Length)
|
||||
{
|
||||
return source;
|
||||
}
|
||||
|
||||
return source.Substring(source.Length - tailLength);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue