fix(auth): redirect telegram connect to success page
This commit is contained in:
@@ -207,8 +207,8 @@ app.post('/bot/messenger-login', async (req, res) => {
|
||||
'http://localhost:3000'
|
||||
).replace(/\/$/, '');
|
||||
const nextPath = startSession.redirectPath || (
|
||||
startSession.userId
|
||||
? `/profile/notifications?status=success&connected=${channel.toLowerCase()}`
|
||||
channel === 'TELEGRAM'
|
||||
? `/profile/notifications/success?connected=${channel.toLowerCase()}`
|
||||
: ''
|
||||
);
|
||||
const loginQuery = new URLSearchParams({
|
||||
|
||||
Reference in New Issue
Block a user