Add PHP Script to activate account
This commit is contained in:
parent
e86ec4dfb1
commit
579939a5f8
6 changed files with 102 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue