|
916b85500d
|
captchaDb is now of type CaptchaDB interface. Use a constructor for InMemoryCaptchaDB.
A new captcha is now being created here instead of passed as an argument.
|
2022-08-19 02:09:01 +04:00 |
|
|
59bd479ebe
|
Image now passed by a pointer instead of value. Hope it will help with memory consumption a little.
|
2022-08-17 21:47:27 +04:00 |
|
|
f7439eb282
|
Changed interface and DB struct name in instance.go.
|
2022-07-30 15:31:47 +04:00 |
|
|
96c13ec6b2
|
Added support for different styles for CAPTCHA.
|
2022-06-27 01:20:36 +04:00 |
|
|
c92d02f4e4
|
Let instance actually use GetExpiry() method.
|
2022-06-27 01:10:52 +04:00 |
|
|
8053952122
|
Captcha implementation was moved off to pkg directory to be able to be used as an external library.
|
2022-06-26 23:53:52 +04:00 |
|
|
3251b68629
|
In instance.go GetExpireInterval() changed to GetExpiry(). And changed name of corresponding field of CaptchaDB to ExpireIn.
|
2022-06-26 20:53:48 +04:00 |
|
|
7a7c3107d8
|
Added GetExpireInterval() wrapper for CaptchaDB instance.
|
2022-06-26 15:46:23 +04:00 |
|
|
21b2f24986
|
Initial commit with a fully working program, lel.
|
2022-06-24 23:09:46 +04:00 |
|