Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -418,16 +418,16 @@ server <- function(input, output,session) {
|
|
| 418 |
# Handle login button click
|
| 419 |
observeEvent(input$login, {
|
| 420 |
# Show loading message
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
|
| 426 |
# Check Patreon access
|
| 427 |
has_access <- check_patreon_access(input$email)
|
| 428 |
|
| 429 |
# Remove loading message
|
| 430 |
-
|
| 431 |
|
| 432 |
if (has_access) {
|
| 433 |
credentials$logged_in <- TRUE
|
|
|
|
| 418 |
# Handle login button click
|
| 419 |
observeEvent(input$login, {
|
| 420 |
# Show loading message
|
| 421 |
+
# showModal(modalDialog(
|
| 422 |
+
# "Checking credentials...",
|
| 423 |
+
# footer = NULL
|
| 424 |
+
# ))
|
| 425 |
|
| 426 |
# Check Patreon access
|
| 427 |
has_access <- check_patreon_access(input$email)
|
| 428 |
|
| 429 |
# Remove loading message
|
| 430 |
+
# removeModal()
|
| 431 |
|
| 432 |
if (has_access) {
|
| 433 |
credentials$logged_in <- TRUE
|