Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features #26

Merged
merged 2 commits into from
May 7, 2024
Merged

Features #26

merged 2 commits into from
May 7, 2024

Conversation

croessner
Copy link
Owner

No description provided.

Christian Roessner added 2 commits May 7, 2024 11:25
Revised code in register.go to distinguish successful and failed 2FA authentication outcomes. Removed an unnecessary blank line and renamed a variable to better reflect its functionality. Adjusted the function processAuthResult, adding authCompleteWithFail as an extra parameter and differentiating actions based on outcome. This helps to handle the 2FA redirection more appropriately based on whether authentication was successful or failed.

Signed-off-by: Christian Roessner <c@roessner.co>
In the register.go file, an InDevelopment boolean field was added to the HomePageData struct. Utilized this flag to conditionally render parts of the login.html and home.html files based on the application's development status. Also, corrected the missing element error message in main.js.

Signed-off-by: Christian Roessner <c@roessner.co>
@croessner croessner merged commit 38333a6 into main May 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant