From 36635161dcb8a4cd4d61c5fa1823bdcf90301eeb Mon Sep 17 00:00:00 2001 From: keannu125 Date: Mon, 27 Feb 2023 00:27:26 +0800 Subject: [PATCH] Activation now points to localhost:3000 --- project/config/settings.py | 5 ++++- project/db.sqlite3 | Bin 151552 -> 151552 bytes 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/project/config/settings.py b/project/config/settings.py index e99db89..3a92483 100644 --- a/project/config/settings.py +++ b/project/config/settings.py @@ -139,10 +139,13 @@ REST_FRAMEWORK = { ), } +DOMAIN = 'localhost:3000' +SITE_NAME = 'localhost:3000' + DJOSER = { 'SEND_ACTIVATION_EMAIL': True, 'SEND_CONFIRMATION_EMAIL': True, - 'ACTIVATION_URL': 'api/v1/accounts/users/activation/{uid}/{token}', + 'ACTIVATION_URL': 'activation/{uid}/{token}', } EMAIL_HOST = 'sandbox.smtp.mailtrap.io' diff --git a/project/db.sqlite3 b/project/db.sqlite3 index da54cf3f54c750170c8e2b3d077aa606e4bfa021..4899fabe5a00ecd9fb38b089da6f92cac520d4b0 100644 GIT binary patch delta 1249 zcma*mPi)&%90%|uPCJLTysd2Xz|e-sVPjqL{GR=6N2~rnKay7F@mQ3Zut+2UTM~rr8Gw zB77I3yNKLmNCJ@rhhr>*SyAZDUK$-v&&}MXBU0~c>-EF7tF_kTs#Wo}3!6Iy$FMVE zt{si<7W4Z3-IU|t99Pd(1mCfDY+p}x8fr0KDdgAKWzouz;*L2o@IwPX-T+|?B9Vuv zJ3IN0fj&2saviCn))iM>+AB5SV!oPT(sC5DilN18ZBwyDWEVbISNOfn9VK5-%lY8E^t}F~~!fWxBHyFB#Ysf1NjW%1+fT)jeHzp{EczYWarL z-du4NIi0Or@n&UTZ`Hh%R8AL?rmCeo4KXfCMb2i0Q4ieEz>PD&1jaGK^N7RU+3-sS z&0Wnjh|!UVo^)|mDKwXTe>Iw~q`i#nH}=(5(!Y~p>z)MJrnH|iims9IN^R53E{nQk z9h~>T4h`%W10yC_CdToI5rpnMH8e;s?nBwOkSDY)MjKS28)gBwc2oDFyRDUuZ)4dfEm0H6C5|FjT3pX_qP4(RT`WGz+d1D{04pjKY<^>x8S6I#rX{M&JJl- zpd-{=aCi!T>0%<27ZW#eF|px`2~qvC!|Ru+C%_!UsGw(kxpylNxP48!Hp0H}L*c>4 zBp5NqA_DPf=|4RF<~SI3=n$|1;1pP+gr#&Syd?!y4MIUDnz#+CL}YlZ2{pno)!Mcw z)G&`>O(ZMorgNbh; z1AhSD!p({bQ~4$@%q!+MFtIW)w=y-+Gd44{FgKm7od1x6iT^DF|9Aekn*|#l@^5}y zFC)Nwl|Os4VnGuBD%R*e1QU282GOM1y1p^XfwxhPTwofq%qBa Zi3KS0n}Po~Q06^969dEc-}X$b0sz@aLw5iG