Add PHP Script to activate account

This commit is contained in:
zontreck 2024-05-16 18:28:43 -07:00
parent e86ec4dfb1
commit 579939a5f8
6 changed files with 102 additions and 9 deletions

View file

@ -100,6 +100,7 @@ class OpenSimPageState extends State<OpenSimPage> {
String PSKHash = "";
bool polling = true;
bool activating = false;
@override
Future<void> didChangeDependencies() async {
@ -151,7 +152,8 @@ class OpenSimPageState extends State<OpenSimPage> {
polling = false;
});
if (settings.loggedIn && !settings.currentUser!.active) {
if (settings.loggedIn && !settings.currentUser!.active && !activating) {
activating = true;
showDialog(
context: context,
builder: (B) {