Changeset 952baf3 in Klonkt for src/routes/auth.js
- Timestamp:
- 08/07/2026 05:15:52 PM (5 weeks ago)
- Branches:
- main
- Children:
- ba76bf5
- Parents:
- f85b2c3 (diff), 0d5bd2c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/routes/auth.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/auth.js
rf85b2c3 r952baf3 115 115 if (!isSetupMode()) return res.redirect('/auth/login' + (next ? '?next=' + encodeURIComponent(next) : '')); 116 116 renderPage(req, res, 'pages/auth-register', { 117 pageJs: 'auth-register', 117 118 pageTitle: t(resolveLang(req), 'setup.title'), bodyClass: 'on-special', 118 119 error: null, username: '', email: '', siteName: '', next, … … 124 125 const next = safeNext(req.body.next) || ''; 125 126 const renderErr = (error) => renderPage(req, res, 'pages/auth-register', { 127 pageJs: 'auth-register', 126 128 pageTitle: t(resolveLang(req), 'setup.title'), bodyClass: 'on-special', 127 129 error, username: username || '', email: email || '', siteName: siteName || '', next, … … 205 207 } else { 206 208 // Production without SMTP: NEVER log the token. Refer to the CLI break-glass. 207 console.log(`[password-reset] aangevraagd voor ${user.email} (geen SMTP — gebruik'npm run reset-admin')`);209 console.log(`[password-reset] requested for ${user.email} (no SMTP — use 'npm run reset-admin')`); 208 210 } 209 211 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)