Started work on URL-Token based password reset system. Email not yet implemented.

This commit is contained in:
rainbow napkin 2024-12-28 04:30:08 -05:00
parent 8ee92541de
commit ed698f40c7
22 changed files with 580 additions and 16 deletions

View file

@ -96,10 +96,10 @@ span.emote-list-trash-icon{
top: -0.5em;
right: -0.5em;
z-index: 1;
align-items: center;
justify-content: center;
}
i.emote-list-trash-icon{
flex: 1;
text-align: center;
margin: auto;
}

35
www/css/passwordReset.css Normal file
View file

@ -0,0 +1,35 @@
/*Canopy - The next generation of stoner streaming software
Copyright (C) 2024 Rainbownapkin and the TTN Community
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
h3, p{
text-align: center;
}
form{
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5em;
margin: 0 17%;
}
.reset-pass-prompt{
width: 100%
}
#reset-pass-button{
width: 6em;
height: 3em;
}

View file

@ -59,6 +59,7 @@ p.profile-toke-count{
min-height: 1.5em;
max-height: 5.8em;
display: none;
border-bottom-right-radius: 0;
}
/*Little hacky but this keeps initial max-height from fucking up resizing*/