Fix quote submission bug and update copyright notice

- Fixed config access in submit route (config.min_quote_length -> config.get('quotes.min_length'))
- Fixed Flask-Limiter initialization syntax
- Reduced minimum quote length from 10 to 1 character
- Updated copyright notice from '© ircquotes 2024, All Rights Reserved.' to '@ ircquotes 2024-2025'
- Quote submission now works properly with correct status assignment (pending/approved)
- Quotes are properly created with status=0 (pending) when auto_approve=false
This commit is contained in:
2025-09-20 20:44:30 +01:00
parent d1edf8fb50
commit b08b81fec9
10 changed files with 35 additions and 14 deletions

View File

@@ -93,7 +93,7 @@
</tr>
</table>
<font size="-1">&#169; ircquotes 2024, All Rights Reserved.</font>
<font size="-1">@ ircquotes 2024-2025</font>
</center>
</body>