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:
@@ -95,7 +95,7 @@
|
||||
</table>
|
||||
|
||||
<font size="-1">
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user