Closed romsom closed 4 years ago
You could always query "/admin/requests", and on success do the redirect. The basic code is already there (the code testing the username/password initially does exactly that, but against the public endpoint).
Hmm, just noticed that it is not that easy :/ For non localhost paths, this triggeres an Password dialog for the failed path (so the path the students would trigger...) rolling back temporarily
Natürlich nur bedingt nützlich, solange wir keine Liste von Usern mit Adminrechten haben oder man im Account ein admin flag setzen und abfragen kann...