Fix login strategy condition to properly check for mobile devices

This commit is contained in:
Lorenz Hilpert
2024-11-18 13:49:32 +01:00
parent 54b37436eb
commit 0c6f8abbad

View File

@@ -21,7 +21,7 @@ export class LoginStrategy {
let loginModalResult: UiModalResult<boolean>;
try {
if (true || this.environmentService.isMobileDevice()) {
if (this.environmentService.isMobileDevice()) {
do {
const loginModal = this.modal.open({
content: UiConfirmModalComponent,