El middleware loginRequired mantiene el valor de redir si ya existe.
Merge branch 'tema5' into tema6
Merge branch 'tema6' into tema7
Merge branch 'tema7' into tema8