c2cgeoportal-geoportal 2.9rc32__py3-none-any.whl → 2.9rc34__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.
@@ -93,6 +93,9 @@ class Login:
93
93
 
94
94
  @forbidden_view_config(renderer="login.html") # type: ignore[misc]
95
95
  def loginform403(self) -> dict[str, Any] | pyramid.response.Response:
96
+ if self.request.authenticated_userid is not None:
97
+ return HTTPForbidden()
98
+
96
99
  if self.authentication_settings.get("openid_connect", {}).get("enabled", False):
97
100
  return HTTPFound(
98
101
  location=self.request.route_url(
@@ -101,9 +104,6 @@ class Login:
101
104
  )
102
105
  )
103
106
 
104
- if self.request.authenticated_userid is not None:
105
- return HTTPForbidden()
106
-
107
107
  set_common_headers(self.request, "login", Cache.PRIVATE_NO)
108
108
 
109
109
  return {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: c2cgeoportal-geoportal
3
- Version: 2.9rc32
3
+ Version: 2.9rc34
4
4
  Summary: c2cgeoportal geoportal
5
5
  Home-page: https://github.com/camptocamp/c2cgeoportal/
6
6
  Author: Camptocamp
@@ -159,7 +159,7 @@ c2cgeoportal_geoportal/views/fulltextsearch.py,sha256=uiidVzz-mQ-_eF1GL3ZCWd67-p
159
159
  c2cgeoportal_geoportal/views/geometry_processing.py,sha256=5dkJ20Lk12zqfzvmfws2YFxutSX2vxzdetQ4CmYxSi8,2958
160
160
  c2cgeoportal_geoportal/views/i18n.py,sha256=EEyM5Y7DSuQffiwpFrkFclUcneRCiir4bakXY6lGZjI,5343
161
161
  c2cgeoportal_geoportal/views/layers.py,sha256=I1_9N8Zui4b2t9qfX1Z4QGX7-vOPeUKKvyJWLH8g9Fo,29226
162
- c2cgeoportal_geoportal/views/login.py,sha256=ZskF7ioI_2_r5ILB0s3fMM4rU6_iY1_uFwChIPmY7kU,29141
162
+ c2cgeoportal_geoportal/views/login.py,sha256=FjJa6QI8JMDCFV9_oEQjXgD00UQ4ke8qixH3nLYyETE,29141
163
163
  c2cgeoportal_geoportal/views/mapserverproxy.py,sha256=ii_389rDXNMbtk4cWD9BSp3dDBZVin0_KsbsxPvCtkk,9498
164
164
  c2cgeoportal_geoportal/views/memory.py,sha256=Vhw3vf4pjdl9DuW2PNOK6PZZOUPUn09Otym88_XIy3s,3754
165
165
  c2cgeoportal_geoportal/views/ogcproxy.py,sha256=2i3cuZ2cRybEH-DvAQbrLnUxd9y3B0iKnwkpaJvhwSc,5215
@@ -186,8 +186,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
186
186
  tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
187
187
  tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
188
188
  tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
189
- c2cgeoportal_geoportal-2.9rc32.dist-info/METADATA,sha256=LLjDPQXGRpQ0QeuzkC0GRDts3bwJr4edRnC49PKEbIg,1886
190
- c2cgeoportal_geoportal-2.9rc32.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
191
- c2cgeoportal_geoportal-2.9rc32.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
192
- c2cgeoportal_geoportal-2.9rc32.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
193
- c2cgeoportal_geoportal-2.9rc32.dist-info/RECORD,,
189
+ c2cgeoportal_geoportal-2.9rc34.dist-info/METADATA,sha256=Eh6lBO5RNCVAt4jWfqCyJYAixnFAHKkL_Fim9BudOw8,1886
190
+ c2cgeoportal_geoportal-2.9rc34.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
191
+ c2cgeoportal_geoportal-2.9rc34.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
192
+ c2cgeoportal_geoportal-2.9rc34.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
193
+ c2cgeoportal_geoportal-2.9rc34.dist-info/RECORD,,