password reset workflow changed

This commit is contained in:
vfedosevich 2015-04-30 04:24:15 -07:00
parent 2f1e740d5a
commit 410b15c2c4
36 changed files with 1229 additions and 255 deletions

View file

@ -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);
}
}
}