feat: sync deployed v1.0.0-rc.38-custom.42
Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
1 parent
aa6c3f50f4
commit
ceddfd3d6b
828 files changed
+122253
-13702
No files matched your search
@@ -29,6 +29,9 @@ import { Label } from '@/components/ui/label'
|
||||
import { useCountdown } from '@/hooks/use-countdown'
|
||||
import { api } from '@/lib/api'
|
||||
import { copyToClipboard } from '@/lib/copy-to-clipboard'
|
||||
import { handleServerError } from '@/lib/handle-server-error'
|
||||
import { AuthOperationError } from '@/lib/secure-verification'
|
||||
import { createServerError } from '@/lib/server-error-message'
|
||||
|
||||
import { AuthLayout } from '../auth-layout'
|
||||
|
||||
@@ -82,9 +85,11 @@ export function ResetPasswordConfirm({
|
||||
} else {
|
||||
toast.success(t('Password reset: {{password}}', { password }))
|
||||
}
|
||||
} else {
|
||||
handleServerError(createServerError(res.data, t('Request failed')))
|
||||
}
|
||||
} catch {
|
||||
// Errors handled by global interceptor
|
||||
} catch (error) {
|
||||
handleServerError(AuthOperationError.from(error))
|
||||
} finally {
|
||||
setLoading(false)
|
||||
}
|
||||
@@ -179,13 +184,15 @@ export function ResetPasswordConfirm({
|
||||
newPassword ? false : loading || isActive || !isValidResetLink
|
||||
}
|
||||
>
|
||||
{newPassword
|
||||
? t('auth.resetPasswordConfirm.backToLogin')
|
||||
: isActive
|
||||
? t('auth.resetPasswordConfirm.retry', {
|
||||
seconds: secondsLeft,
|
||||
})
|
||||
: t('auth.resetPasswordConfirm.confirm')}
|
||||
{newPassword && t('auth.resetPasswordConfirm.backToLogin')}
|
||||
{!newPassword &&
|
||||
isActive &&
|
||||
t('auth.resetPasswordConfirm.retry', {
|
||||
seconds: secondsLeft,
|
||||
})}
|
||||
{!newPassword &&
|
||||
!isActive &&
|
||||
t('auth.resetPasswordConfirm.confirm')}
|
||||
</Button>
|
||||
|
||||
{!newPassword && (
|
||||
|
||||
Reference in new issue
Block a user