coolify/app/Livewire/Project/Database
Andras Bacsai b0d50669b1 fix: skip password confirmation for OAuth users
OAuth users don't have passwords set, so they should not be prompted for password confirmation when performing destructive actions. This fix:
- Detects OAuth users via the hasPassword() method
- Skips password confirmation in modal for OAuth users
- Keeps text name confirmation as the final step
- Centralizes logic in helper functions for maintainability
- Changes button text to "Confirm" when password step is skipped

Fixes #4457

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-12 14:12:02 +01:00
..
Backup Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Clickhouse fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Dragonfly fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Keydb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mariadb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mongodb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mysql fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Postgresql fix: enhance security by validating and escaping database names, file paths, and proxy configuration filenames to prevent command injection 2025-11-27 14:36:31 +01:00
Redis fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
BackupEdit.php fix: skip password confirmation for OAuth users 2025-12-12 14:12:02 +01:00
BackupExecutions.php fix: skip password confirmation for OAuth users 2025-12-12 14:12:02 +01:00
BackupNow.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Configuration.php Merge branch 'next' into andrasbacsai/livewire-model-binding 2025-10-16 11:05:29 +02:00
CreateScheduledBackup.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Heading.php Fix loading icon showing during automatic status checks 2025-10-24 12:58:52 +02:00
Import.php fix: resolve uncloseable database restore modal on MariaDB import (#7335) 2025-11-26 10:43:07 +01:00
InitScript.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
ScheduledBackups.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00