7848-recoveryPassword #617

Merged
alexm merged 7 commits from 7848-recoveryPassword into dev 2024-08-13 14:43:47 +00:00
Member
No description provided.
alexm added 4 commits 2024-08-13 10:31:15 +00:00
alexm reviewed 2024-08-13 10:31:39 +00:00
@ -0,0 +1,57 @@
/// <reference types="cypress" />
Author
Member

Ya que estaba he añadido e2e para el doble factor

Ya que estaba he añadido e2e para el doble factor
alexm reviewed 2024-08-13 10:39:33 +00:00
@ -0,0 +22,4 @@
});
it('should change password to user', () => {
// Get token from mail
Author
Member

Lo he intentado hacer asi pero no me ha dejado (sin encodeURIComponent tambien):

        const filter = encodeURIComponent(
            JSON.stringify({
                where: {
                    receiver: username,
                },
                order: ['id DESC'],
            })
        );
        cy.request(
            `http://localhost:3000/api/Mails?filter=${filter}&access_token=DEFAULT_TOKEN`
        )
Lo he intentado hacer asi pero no me ha dejado (sin encodeURIComponent tambien): ``` const filter = encodeURIComponent( JSON.stringify({ where: { receiver: username, }, order: ['id DESC'], }) ); cy.request( `http://localhost:3000/api/Mails?filter=${filter}&access_token=DEFAULT_TOKEN` ) ```
alexm reviewed 2024-08-13 10:40:16 +00:00
@ -47,3 +47,3 @@
Router.beforeEach(async (to, from, next) => {
const { isLoggedIn } = session;
const outLayout = ['Login', 'TwoFactor', 'VerifyEmail'];
const outLayout = Router.options.routes[0].children.map((r) => r.name);
Author
Member

Por no ponerlas siempre a mano

Por no ponerlas siempre a mano
alexm reviewed 2024-08-13 10:40:49 +00:00
@ -0,0 +1,32 @@
<script setup>
Author
Member

He visto que estaba repitiendo el patron, y lo he hecho componente

He visto que estaba repitiendo el patron, y lo he hecho componente
Member

Porque out form? Si lo dices porque son datos que se van a enviar ... Igual mejor algo tipo submitForm no?

Porque out form? Si lo dices porque son datos que se van a enviar ... Igual mejor algo tipo submitForm no?
Author
Member

Out por OutLayout, fuera de la applicacion

Out por OutLayout, fuera de la applicacion
jorgep marked this conversation as resolved
alexm requested review from jorgep 2024-08-13 10:41:04 +00:00
jorgep reviewed 2024-08-13 11:05:20 +00:00
@ -0,0 +13,4 @@
{{ title }}
</h5>
</div>
<slot name="default"></slot>
Member

body? el default slot no necesita un name.

body? el default slot no necesita un name.
Author
Member

lo he probado sin y no me iba

lo he probado sin y no me iba
jon reviewed 2024-08-13 11:58:08 +00:00
@ -0,0 +47,4 @@
tempDiv.innerHTML = response.body[0].body;
const codeElement = tempDiv.querySelector('.code');
const code = codeElement ? codeElement.textContent.trim() : null;
cy.log('response: ', code);
Member

quitar

quitar
alexm marked this conversation as resolved
alexm added 1 commit 2024-08-13 14:31:42 +00:00
gitea/salix-front/pipeline/pr-dev This commit looks good Details
fdb508de97
delete cy.logs
alexm added 1 commit 2024-08-13 14:40:09 +00:00
gitea/salix-front/pipeline/pr-dev This commit looks good Details
3cbdf25410
delete name default
alexm added 1 commit 2024-08-13 14:41:25 +00:00
gitea/salix-front/pipeline/pr-dev This commit looks good Details
0a0e8be39f
Merge branch 'dev' into 7848-recoveryPassword
jorgep approved these changes 2024-08-13 14:43:41 +00:00
alexm merged commit e9873a43b1 into dev 2024-08-13 14:43:47 +00:00
alexm deleted branch 7848-recoveryPassword 2024-08-13 14:43:47 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix-front#617
No description provided.