Add pre-testing version of the webinterface
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace ChatTwo.Util;
|
||||
|
||||
public class WebinterfaceUtil
|
||||
{
|
||||
private static readonly Random Rng = new();
|
||||
|
||||
public static string GenerateSimpleAuthCode()
|
||||
{
|
||||
return (100000 + Rng.Next() % 100000).ToString()[1..];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user