c2cgeoportal-geoportal 2.9.0.289__py3-none-any.whl → 2.9.0.290__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- c2cgeoportal_geoportal/views/login.py +4 -0
- {c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/METADATA +1 -1
- {c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/RECORD +6 -6
- {c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/WHEEL +0 -0
- {c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/entry_points.txt +0 -0
- {c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/top_level.txt +0 -0
@@ -377,6 +377,10 @@ class Login:
|
|
377
377
|
_LOG.info("The login '%s' does not exist.", login)
|
378
378
|
raise HTTPUnauthorized("See server logs for details")
|
379
379
|
|
380
|
+
if user.deactivated:
|
381
|
+
_LOG.info("The login '%s' is deactivated.", login)
|
382
|
+
raise HTTPUnauthorized("See server logs for details")
|
383
|
+
|
380
384
|
if self.two_factor_auth:
|
381
385
|
if not self._validate_2fa_totp(user, otp):
|
382
386
|
_LOG.info("The second factor is wrong for user '%s'.", login)
|
{c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/RECORD
RENAMED
@@ -160,7 +160,7 @@ c2cgeoportal_geoportal/views/fulltextsearch.py,sha256=i6d0-1N2pNG6KWq9Bih_kD4TQA
|
|
160
160
|
c2cgeoportal_geoportal/views/geometry_processing.py,sha256=5dkJ20Lk12zqfzvmfws2YFxutSX2vxzdetQ4CmYxSi8,2958
|
161
161
|
c2cgeoportal_geoportal/views/i18n.py,sha256=EEyM5Y7DSuQffiwpFrkFclUcneRCiir4bakXY6lGZjI,5343
|
162
162
|
c2cgeoportal_geoportal/views/layers.py,sha256=I1_9N8Zui4b2t9qfX1Z4QGX7-vOPeUKKvyJWLH8g9Fo,29226
|
163
|
-
c2cgeoportal_geoportal/views/login.py,sha256=
|
163
|
+
c2cgeoportal_geoportal/views/login.py,sha256=9nFtMzPAPVoUhS3KmojrX3tyeInVkwjwZRqfroF444k,29360
|
164
164
|
c2cgeoportal_geoportal/views/mapserverproxy.py,sha256=ii_389rDXNMbtk4cWD9BSp3dDBZVin0_KsbsxPvCtkk,9498
|
165
165
|
c2cgeoportal_geoportal/views/memory.py,sha256=Vhw3vf4pjdl9DuW2PNOK6PZZOUPUn09Otym88_XIy3s,3754
|
166
166
|
c2cgeoportal_geoportal/views/ogcproxy.py,sha256=2i3cuZ2cRybEH-DvAQbrLnUxd9y3B0iKnwkpaJvhwSc,5215
|
@@ -187,8 +187,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
|
|
187
187
|
tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
|
188
188
|
tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
|
189
189
|
tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
|
190
|
-
c2cgeoportal_geoportal-2.9.0.
|
191
|
-
c2cgeoportal_geoportal-2.9.0.
|
192
|
-
c2cgeoportal_geoportal-2.9.0.
|
193
|
-
c2cgeoportal_geoportal-2.9.0.
|
194
|
-
c2cgeoportal_geoportal-2.9.0.
|
190
|
+
c2cgeoportal_geoportal-2.9.0.290.dist-info/METADATA,sha256=3gDWrShA78x9JIujtwcnp2R184ile2XBCEfaayojdjU,2030
|
191
|
+
c2cgeoportal_geoportal-2.9.0.290.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
192
|
+
c2cgeoportal_geoportal-2.9.0.290.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
|
193
|
+
c2cgeoportal_geoportal-2.9.0.290.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
|
194
|
+
c2cgeoportal_geoportal-2.9.0.290.dist-info/RECORD,,
|
{c2cgeoportal_geoportal-2.9.0.289.dist-info → c2cgeoportal_geoportal-2.9.0.290.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|