Can edit authorized_keys in SSH Services, remove download keyfile support

This commit is contained in:
nicolas.dorier
2019-09-19 19:17:20 +09:00
parent 42dda56eea
commit a2cb6178b8
6 changed files with 83 additions and 16 deletions

View File

@@ -77,7 +77,7 @@ namespace BTCPayServer.Tests
public string RegisterNewUser(bool isAdmin = false)
{
var usr = RandomUtils.GetUInt256().ToString() + "@a.com";
var usr = RandomUtils.GetUInt256().ToString().Substring(64 - 20) + "@a.com";
Driver.FindElement(By.Id("Register")).Click();
Driver.FindElement(By.Id("Email")).SendKeys(usr);
Driver.FindElement(By.Id("Password")).SendKeys("123456");